@use 'sass:math';
$vm_base: 1920;
$vh_base: 1080;

@function p2h($px) {
  @return math.div($px, $vh-base) * 100vh;
}

@function pxToVw($px) {
  @return math.div($px, $vm-base) * 100vw;
}

@mixin cardStyle() {
  background: #ffffff;
  border-radius: 4px;
}

@mixin backgroundImg($img) {
  background: url($img) no-repeat 100% 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
@mixin fullPageSize() {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #f5f5f7;
}
